home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / BOS8.M3 < prev    next >
Text File  |  1996-04-01  |  4KB  |  159 lines

  1. name Bridgeport BOSS 8
  2.  
  3. % 00
  4. : 5
  5. N >4
  6. V 0
  7. G >2
  8. g >2 G
  9. X ->3.>4
  10. x ->3.>4 X
  11. Y ->3.>4
  12. y ->3.>4 Y
  13. Z ->3.>4
  14. z >3.>4 Z IncFrom V
  15. w >3.>4 Z
  16. I ->3.>4
  17. i ->3.>4 I
  18. J ->3.>4
  19. j ->3.>4 J
  20. R ->3.>4
  21. K ->3.>4
  22. P >40
  23. F >3.1 Limit 0.1 100.0
  24. H >2
  25. T >2
  26. M >2
  27. $ 00
  28. @ >3.>5
  29. ^ >3.>5
  30. S >4 Limit 60 4200
  31. ' 00
  32.  
  33. ModalLetters X Y Z R F                # List of letters that are modal
  34.  
  35. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal
  36.  
  37. Sequence#s N 0 5 5                    # Char, freq, incr & start
  38. First#? N                             # Y or N  'Output 1st sequence no.
  39. Last#? N                              # Y or N  'Output last sequence no.
  40.  
  41. HCode X                               # X or X U  'Horizontal char.
  42. VCode Y                               # Y or Y V  'Vertical char.
  43. Dcode Z                               # Depth char.
  44. FeedCode F                            # Feed rate char.
  45.  
  46. Comment ' '                           # Begin End comment char.
  47.  
  48. Spindle 3 4 5                         # Cw, ccw & stop m codes
  49. Coolant 8 9 7                         # On, Off & Mist m codes
  50. DComp 41 42 40                        # Left, Right & Cancel m codes
  51. LComp 43 49                           # On & Off codes
  52.  
  53. Feed G1                               # Linear move
  54. Rapid G0                              # Rapid positioning word
  55. Cw G2                                 # Circular move clockwise
  56. Ccw G3                                # Circular move counter clockwise
  57. Inc/Abs G 91 90                       # Inc & Abs char. & values
  58. CtrCode I J                           # I J or R or I J K L
  59. Helical? N
  60.  
  61. Spaces? N                             # Y or N  'Spaces between words
  62. Incremental? N                        # Y or N  'Inc or abs output
  63. CtrIncremental? N                     # Y or N  'Inc or abs I & J
  64. ByQuadrants? N                        # Y or N  'Break arcs at quadrants
  65.  
  66. ZRestart? Y                           # Y or N  'New cycle if diff. depths
  67. Work G                                # Work offset register
  68. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  69.  
  70. Drill 1                               # Drilling canned/manual cycle
  71. N[Block] G81 V[Vclear] x[H] y[V] z[D] F[FRate]
  72. N[Block] x[H] y[V]
  73. end cancel
  74.  
  75. Peck 1                                # Pecking canned/manual cycle
  76. N[Block] G87 V[Vclear] x[H] y[V] z[D] w[Vbite] F[FRate]
  77. end cancel
  78.  
  79. Tap 1                                 # Tapping canned/manual cycle
  80. N[Block] G84 x[H] y[V] z[D] F[FRate]
  81. N[Block] x[H] y[V]
  82. end cancel
  83.  
  84. Ream 1                                # Reaming canned/manual cycle
  85. N[Block] G85 x[H] y[V] z[D] F[FRate]
  86. N[Block] x[H] y[V]
  87. end cancel
  88.  
  89. Bore 1                                # Boring canned/manual cycle
  90. N[Block] G86 x[H] y[V] z[D] F[FRate]
  91. N[Block] x[H] y[V]
  92. end cancel
  93.  
  94. Back 1                                # Back boring canned/manual cycle
  95. G87 x[H] y[V] z[D] F[FRate]
  96. x[H] y[V]
  97. end cancel
  98.  
  99. Cancel                                # Cancel a canned/manual cycle
  100. N[Block] G80
  101. end
  102.  
  103. StartCode                             # Start of the program
  104. %0
  105. :[Program#]
  106. N[Block] G90 G80 G40 G17
  107. End
  108.  
  109. 1stToolChange                         # First tool change
  110. N[Block] G0 G90 T[Tool] M26 $0 @[ToolDiam] ^[Corner] '0
  111. N[Block] G97 X[WorkH] Y[WorkV]
  112. N[Block] X[H] Y[V]
  113. N[Block] Z[Vclear] M[Cool]
  114. End
  115.  
  116. Infeed                                # Enable cutter comp
  117. N[Block] G1 G[Side] X[H] Y[V] H[DComp] F[FRate]
  118. end
  119.  
  120. Outfeed                               # Disable cutter comp
  121. N[Block] G1 G40 X[H] Y[V]
  122. end
  123.  
  124. ToolChange                            # Secondary tool changes
  125. N[Block] M[CoolantOff]
  126. N[Block] G0 G90 T[Tool] M26 $0 @[tooldiam] ^[corner] '0
  127. N[Block] X[H] Y[V]
  128. N[Block] Z[Vclear] M[Cool]
  129. End
  130.  
  131. EndCode                               # End of the program
  132. N[Block] M9
  133. N[Block] G0 G90 M22
  134. N[Block] M02
  135. %0
  136. End
  137.  
  138. LineCode                              # Linear move
  139. N[Block] G1 X[H] Y[V] Z[D] F[FRate]
  140. End
  141.  
  142. RapidCode                             # Rapid move
  143. N[Block] G0 X[H] Y[V] Z[D]
  144. End
  145.  
  146. Cwcode Force? Y                       # CW circular move
  147. N[Block] G2 x[H] y[V] i[IVal] j[JVal] F[FRate]
  148. End
  149.  
  150. Ccwcode Force? Y                      # CCW circular move
  151. N[Block] G3 x[H] y[V] i[IVal] j[JVal] F[FRate]
  152. End
  153.  
  154. replace "x" with "X"
  155. replace "y" with "Y"
  156. Replace "@" with "Tool Diameter "
  157. Replace "^" with " Corner Radius "
  158. Replace "$" with "                 '"
  159.